<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>

</body>
<script src="./qs.js"></script>


<!-- <script src="https://cdn.bootcdn.net/ajax/libs/qs/6.10.3/qs.js"></script> -->

<!-- 如果刚才从 qs dist 下复制出来的 qs 直接支持浏览器直接使用，不然去找一个浏览器的 qs库 -->
<script>
    const obj = {
        id: 1,
        name: 'zhangsan',
        age: 18,
        address: '广州市'
    }
    let s = Qs.stringify(obj);
    console.log(s);

    let kvString = 'filmId=5945&type=123';

    let o = Qs.parse(kvString);
    console.log(o.filmId);

</script>

</html>